//
//  HomeTabBar.h
//  LianMengPOC
//
//  Created by WangQi on 13-6-20.
//
//

#import <UIKit/UIKit.h>

@protocol HomeTabBarDelegate;

@interface HomeTabBar : UIView

@property (retain, nonatomic) IBOutlet UIButton *myApplicationButton;
@property (retain, nonatomic) IBOutlet UIButton *phoneBankButton;
@property (retain, nonatomic) IBOutlet UIButton *financialHelperButton;
@property (assign, nonatomic) id<HomeTabBarDelegate>delegate;
@property (retain, nonatomic) IBOutlet UIImageView *selectImageView;

- (IBAction)tapOnMyApplicationButton:(id)sender;
- (IBAction)tapOnPhoneBankButton:(id)sender;
- (IBAction)tapOnFinancialHelperButton:(id)sender;

+ (HomeTabBar *)viewFromNib;

- (void)selectTabBarAtIndex:(int)index;

@end

@protocol HomeTabBarDelegate <NSObject>

- (void)homeTabBar:(HomeTabBar*)homeTabBar didSelectTabAtIndex:(int)index;

@end





